home *** CD-ROM | disk | FTP | other *** search
- Path: FreeNet.Carleton.CA!ah956
- From: ah956@FreeNet.Carleton.CA (Susheel Jalali)
- Newsgroups: comp.lang.c++
- Subject: cannot lookup method in incomplete type `Machine'
- Date: 24 Mar 1996 09:35:45 GMT
- Organization: National Capital Freenet, Ottawa, Canada
- Sender: ah956@freenet.carleton.ca (Susheel Jalali)
- Message-ID: <4j351h$hdf@freenet-news.carleton.ca>
- NNTP-Posting-Host: freenet.carleton.ca
-
- Hi All,
-
- I am calling a member function of an already compiled
- class Machine, but when I compile the calling class I get the
- following error:
-
-
- Compiling Machine.o
- In file included from Machine.h:27,
- from Machine.cc:11:
- Network.h:29: warning: template `Queue<MessageCarrier *>::Queue()' instantiated in file without #pragma interface
- Compiling MachineShop.o
- In file included from Machine.h:27,
- from MachineShop.cc:29:
- Network.h:29: warning: template `Queue<MessageCarrier *>::Queue()' instantiated in file without #pragma interface
- Compiling Network.o
- In file included from Network.cc:7:
- Network.h:29: warning: template `Queue<MessageCarrier *>::Queue()' instantiated in file without #pragma interface
- Network.cc: In method `void Network::endOfService()':
- Network.cc:109: cannot lookup method in incomplete type `Machine'
-
-
- I would like to know the meaning of the two errors:
-
- Network.h:29: warning: template
- `Queue<MessageCarrier *>::Queue()' instantiated
- in file without #pragma interface
- Compiling MachineShop.o
-
- and,
-
- cannot lookup method in incomplete type `Machine'
-
- Thanks,
-
- SJ
-